﻿<Page
    x:Class="ResCom.EmergencyPage"
    IsTabStop="false"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:ResCom"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:bm="using:Bing.Maps"
    mc:Ignorable="d">

    <Grid Background="White">
        <TextBlock HorizontalAlignment="Left" Margin="80,56,0,0" TextWrapping="Wrap" Text="Emergency!" VerticalAlignment="Top" Height="69" Width="273" FontSize="48" FontFamily="Comic Sans MS" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto" Foreground="#FF2596CB" >
            <TextBlock.RenderTransform>
                <CompositeTransform Rotation="-0.266"/>
            </TextBlock.RenderTransform>
        </TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="400,75,0,0" TextWrapping="Wrap" Text="Call for help ..." VerticalAlignment="Top" Height="34" Width="168" FontSize="24" FontFamily="Comic Sans MS"  Foreground="#FF2596CB" RenderTransformOrigin="0.416999995708466,4.20599985122681"/>
        <Button Name="ButtonSevereEmergency" Content="Severe" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="66,173,0,0" Height="139" Width="446"  FontFamily="Comic Sans MS" FontSize="36" Background="LightSalmon" />
        <Button x:Name="ButtonNonSevereEmergency" Content="Non Severe" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="66,317,0,0" Height="139" Width="446"  FontFamily="Comic Sans MS" FontSize="36" Background="LightGreen"/>
        <Grid x:Name="gridMap" HorizontalAlignment="Left" Height="265" Margin="527,173,0,0" VerticalAlignment="Top" Width="355">
            <bm:Map ZoomLevel="7.5" Credentials="ArKNZJNVNIWOTjO4i7copwtDhtNV28rCGJ3fP4TTtX0bR45gKDh5QBhtiCXytkH_" x:Name="mapControl" >
                <bm:Map.Center>
                    <bm:Location Latitude="48" Longitude="-122.580489" />
                </bm:Map.Center>
            </bm:Map>
        </Grid>
    </Grid>
</Page>